package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.common.DeleteRequest;
import com.snail.model.dto.CourseCategoryIndexDto;
import com.snail.model.dto.CourseCategoryTreeDto;
import com.snail.model.pojo.BizCourseCategory;
import com.snail.response.BaseResponse;

import java.util.List;


/**
 * @author Monica
 * @description 针对表【biz_course_category(课程分类表)】的数据库操作Service
 * @createDate 2025-07-17 13:16:38
 */
public interface BizCourseCategoryService extends IService<BizCourseCategory> {

    BaseResponse<List<CourseCategoryTreeDto>> getCourseCategoryTree();

    BaseResponse addCourseCategory(BizCourseCategory bizCourseCategory);

    BaseResponse updateCourseCategory(BizCourseCategory bizCourseCategory);

    BaseResponse deleteCourseCategory(DeleteRequest deleteRequest);

    BaseResponse<List<CourseCategoryIndexDto>> getCourseCategoryIndex();

}
